package com.fivefu.core.hillstone.services;

import com.fivefu.core.hillstone.entity.DbHillstoneDevice;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 大华设备表 服务类
 * </p>
 *
 * @author 
 * @since 2022-08-23 15:31:32
 */
public interface DbHillstoneDeviceService extends IService<DbHillstoneDevice> {

    /**
     * 编辑设备信息
     * @param device
     */
    void editDbHillstoneDevice(DbHillstoneDevice device);

    /**
     * 按编码获取设备节点信息
     */
    void queryEquipmentInfoByDeviceCode();

    /**
     * 删除多余设备数据信息
     * @param deviceCode   设备唯一标识
     */
    void deleteRedundantData(String deviceCode);

    /**
     * 根据设备唯一标识查询相关数据
     * @param deviceCode
     * @return
     */
    List<DbHillstoneDevice> queryDeviceList(String deviceCode);

    /**
     * 获取本地设备表所有数据
     * @return
     */
    List<DbHillstoneDevice> queryAllDevice();

    /**
     * 获取设备节点信息  汇总用
     */
    DbHillstoneDevice queryEquipmentInfoByDeviceCodeCollect(String deviceCode);
}
